package com.xli.security.thread.annotation;

/**
 * 函数式接口：加锁任务
 */
@FunctionalInterface
public interface LockTask<T> {
    T execute() throws Exception;
}